<?php include Kohana::find_file('classes', 'util');?>
<!-- Seednia home -->


<div id="profile_query">
List user profiles
<?php foreach ($profiles as $profile) {?>
<?php if ($profile->creatorDto->{'@sid'} == $sessionInfo->userInfo['userSid']) continue; ?>
	<p>
	<div>
	[<?php echo $profile->{'@sid'} ?>] 
	<?php echo Util_Data::getValueOf($profile->creatorDto, 'firstName'); ?>
	</div><br />
	<div>
	Current Location: <?php echo Util_Data::getValueOf($profile, 'currentLocation'); ?> <br />
	Highlight: <?php echo Util_Data::getValueOf($profile, 'highlight'); ?><br />
	</div>
	<a href="<?php echo WEBCONTEXT; ?>/index.php/Relation/invite?coUserSid=<?php echo $profile->creatorDto->{'@sid'}; ?>">invite</a>
	<hr />

<?php } ?>
	
</div>
